package net.cnki.sunny.base;

import java.util.List;
import java.util.Map;

public interface IDataContext {

    <T> List<T> excuteQuery(String var1, Class<T> t);

    List<Map<String, String>> excuteQueryList(String sql);

    <T> T excuteQueryReturnOne(String sql, Class<T> t);

    int excuteQueryRecordNumber(String sql);
}
